<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="美国,欧美,游戏专线独享EB,socks5代理IP,proxy"/>
<meta name="description" content="socks5自由在线提取系统，出售包日EB，S5代理，包月独享专线，保证独享专线一个IP一个人使用，大量proxy" />
<title>无标题文档</title>
<style type="text/css">
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}

.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}

.STYLE6 {
	color: #000000;
	font-size: 14px;
}

.STYLE10 {
	color: #000000;
	font-size: 12px;
}

.STYLE19 {
	color: #344b50;
	font-size: 12px;
}

.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}

.STYLE22 {
	font-size: 12px;
	color: #295568;
}

.buylink{
	text-decoration: none;
	color: #000000;
}

</style>
<script type="text/javascript" src="<%=path%>/js/jquery-1.4.3.js"></script>
<script type="text/javascript" src="<%=path%>/admin/js/price.js"></script>
</head>

<body>
	<table width="80%" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="30"><table width="100%" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td height="24" bgcolor="#353c44"><table width="100%"
								border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td><table width="100%" border="0" cellspacing="0"
											cellpadding="0">
											<tr>
												<td height="19" valign="bottom"><img
													src="<%=path%>/images/tb.gif" width="14" height="14" /><span
													style="vertical-align: middle;" class="STYLE1">
														普通会员套餐管理</span></td>
												<td valign="bottom"></td>
											</tr>
										</table></td>
									<td width="88%"><input type="button"  onclick="show('gpriceadd');" value="增加"></td>
								</tr>
							</table>
						</td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td><table width="100%" border="0" cellpadding="0"
					cellspacing="1" bgcolor="#a8c7ce">
					<tr>
						<td width="4%" height="20" bgcolor="d3eaef" class="STYLE10"><div
								align="center">
								No.
							</div></td>
						<td width="25%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">条数</span>
							</div></td>
						<td width="25%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">价格</span>
							</div></td>
						<td height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">操作</span>
							</div></td>
					</tr>
					<tbody>
						<s:iterator value="generalPrices" var="gprice" status="gs">
							<tr>
								<td height="20" bgcolor="#FFFFFF">
									<div align="center">
										<s:property  value="#gs.count"/>
									</div>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE6">
									<div align="center">
										<span id="gpnum${gprice.id}">${gprice.num}</span>
									</div>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span id="gpprice${gprice.id}">${gprice.price}</span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19">
									<div align="center">
										<input type="button" value="修改" onclick="gupdate(${gprice.id},'gpriceadd')"> <input type="button" onclick="location.href='mgrprice!del.do?id=${gprice.id}'" value="删除">
									</div>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td align="center">
				<div id="gpriceadd" style="display: none;">
					<form action="mgrprice!add.do" method="post">
						<table width="60%" border="0px;" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
							<tr bgcolor="d3eaef" align="center"><td>条数</td><td>价格</td><td>操作</td></tr>
							<tr align="center">
								<td class="STYLE19" bgcolor="#FFFFFF" >
									<input type="hidden" name="id" id="gpid" value="0"/>
									<input type="text" name="num" id="gnum"/>
									<input type="hidden" name="type" value="1"/>
								</td>
								<td bgcolor="#FFFFFF"  class="STYLE19">
									<input type="text" name="price" id="gprice"/>
									<input type="hidden" name="useTime" value="1"/>
								</td>
								<td bgcolor="#FFFFFF"  class="STYLE19">
									<input type="submit" value="保存"/>
									<input type="button" onclick="hide('gpriceadd')" value="取消"/>
								</td>
							</tr>
						</table>
					</form>
				</div>
			</td>
		</tr>
		<tr><td>&nbsp;</td></tr>
		<tr>
			<td height="30"><table width="100%" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td height="24" bgcolor="#353c44"><table width="100%"
								border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td><table width="100%" border="0" cellspacing="0"
											cellpadding="0">
											<tr>
												<td height="19" valign="bottom"><img
													src="<%=path%>/images/tb.gif" width="14" height="14" /><span
													style="vertical-align: middle;" class="STYLE1">
														包月会员套餐管理</span></td>
												<td valign="bottom"></td>
											</tr>
										</table></td>
									<td width="88%"><input type="button" onclick="show('mpriceadd')" value="增加"></td>
								</tr>
							</table></td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td><table width="100%" border="0" cellpadding="0"
					cellspacing="1" bgcolor="#a8c7ce">
					<tr>
						<td width="4%" height="20" bgcolor="d3eaef" class="STYLE10"><div
								align="center">
								No.
							</div></td>
						<td width="25%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">条数/天</span>
							</div></td>
						<td width="25%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">价格</span>
							</div></td>
						<td height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">操作</span>
							</div></td>
					</tr>
					<tbody>
						<s:iterator value="monthPrices" var="mprice" status="ms">
							<tr>
								<td height="20" bgcolor="#FFFFFF">
									<div align="center">
										<s:property  value="#ms.count"/>
									</div>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE6">
									<div align="center">
										<span id="mpnum${mprice.id}">${mprice.num}</span>
									</div>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span id="mpprice${mprice.id}">${mprice.price}</span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19">
									<div align="center">
										<input type="button" value="修改" onclick="mupdate(${mprice.id},'mpriceadd')"> 
										<input type="button" onclick="location.href='mgrprice!del.do?id=${mprice.id}'" value="删除">
									</div>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td align="center">
				<div id="mpriceadd" style="display: none;">
					<form action="mgrprice!add.do" method="post">
						<table width="60%" border="0px;" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
							<tr bgcolor="d3eaef" align="center"><td>条数</td><td>价格</td><td>操作</td></tr>
							<tr align="center">
								<td class="STYLE19" bgcolor="#FFFFFF" >
									<input type="text" name="num" id="mnum"/>
									<input type="hidden" name="id" id="mpid" value="0"/>
									<input type="hidden" name="type" value="2"/>
								</td>
								<td bgcolor="#FFFFFF"  class="STYLE19">
									<input type="text" name="price" id="mprice"/>
									<input type="hidden" name="useTime" value="1"/></td>
								<td bgcolor="#FFFFFF"  class="STYLE19">
									<input type="submit" value="保存"/>
									<input type="button" onclick="hide('mpriceadd')" value="取消"/>
								</td>
							</tr>
						</table>
					</form>
				</div>
			</td>
		</tr>
		<%-- <tr><td>&nbsp;</td></tr>
		<tr>
			<td height="30"><table width="100%" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td height="24" bgcolor="#353c44"><table width="100%"
								border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td><table width="100%" border="0" cellspacing="0"
											cellpadding="0">
											<tr>
												<td height="19" valign="bottom"><img
													src="<%=path%>/images/tb.gif" width="14" height="14" /><span
													style="vertical-align: middle;" class="STYLE1">
														独享会员套餐管理</span></td>
												<td valign="bottom"></td>
											</tr>
										</table>
									</td>
									<td width="88%"><input type="button" onclick="show('opriceadd')" value="增加"></td>
								</tr>
							</table></td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td><table width="100%" border="0" cellpadding="0"
					cellspacing="1" bgcolor="#a8c7ce">
					<tr>
						<td width="4%" height="20" bgcolor="d3eaef" class="STYLE10"><div
								align="center">
								No.
							</div></td>
						<td width="25%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">时常(天)</span>
							</div></td>
						<td width="25%" height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">价格</span>
							</div></td>
						<td height="20" bgcolor="d3eaef" class="STYLE6"><div
								align="center">
								<span class="STYLE10">操作</span>
							</div></td>
					</tr>
					<tbody>
						<s:iterator value="onlyPrices" var="oprice" status="os">
							<tr>
								<td height="20" bgcolor="#FFFFFF">
									<div align="center">
										<s:property  value="#os.count"/>
									</div>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE6">
									<div align="center">
										<span id="opuseTime${oprice.id}">${oprice.useTime}</span>
									</div>
								</td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19"><div
										align="center">
										<span id="opprice${oprice.id}">${oprice.price}</span>
									</div></td>
								<td height="20" bgcolor="#FFFFFF" class="STYLE19">
									<div align="center">
										<input type="button" value="修改" onclick="oupdate(${oprice.id},'opriceadd')"> 
										<input type="button" onclick="location.href='mgrprice!del.do?id=${oprice.id}'" value="删除">
									</div>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td align="center">
				<div id="opriceadd" style="display: none;">
					<form action="mgrprice!add.do" method="post">
						<table width="60%" border="0px;" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
							<tr bgcolor="d3eaef" align="center"><td>天数</td><td>价格</td><td>操作</td></tr>
							<tr align="center">
								<td class="STYLE19" bgcolor="#FFFFFF" >
									<input type="hidden" name="id" id="opid" value="0"/>
									<input type="text" name="useTime" id="ouseTime"/>
									<input type="hidden" name="type" value="3"/></td>
								<td bgcolor="#FFFFFF"  class="STYLE19"><input type="text" name="price" id="oprice"/><input type="hidden" name="num" value="1"/></td>
								<td bgcolor="#FFFFFF"  class="STYLE19">
									<input type="submit" value="保存"/>
									<input type="button" onclick="hide('opriceadd')" value="取消"/>
								</td>
							</tr>
						</table>
					</form>
				</div>
			</td>
		</tr> --%>
	</table>
</body>
</html>
